package com.cq.dao;

import com.cq.pojo.StuDorm;
import com.cq.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * @author HP
 */
public interface StuDao {

    /**
     * 学生查询基本信息
     *
     * @return
     */
    Student queryStuByLogin(@Param("stu_key") int key);

    StuDorm queryDormByKey(int key);


    int stuUpdateSelfByKey(Student student);

    List<Student> queryAllStus();



}
